package com.the_last.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName product_price_history
 */
@TableName(value = "product_price_history")
@Data
public class ProductPriceHistory {
    /**
     * 历史价格ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    /**
     * 商品ID
     */
    private Integer productId;
    
    /**
     * 更改时间
     */
    private Date changeTime;
    
    /**
     * 修改后价格
     */
    private BigDecimal newPrice;
    
    private Integer deleted;
}